package com.gxs.tga.poc.domain;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the TGA_DATA_CARD database table.
 * 
 */
@Entity
@Table(name="TGA_DATA_CARD")
@NamedQuery(name="TgaDataCard.findAll", query="SELECT t FROM TgaDataCard t")
public class TgaDataCard implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="DATACARD_RECORD_ID", unique=true, nullable=false, length=36)
	private String datacardRecordId;

	@Column(length=1, columnDefinition="char")
	private String active;

	@Lob
	@Column(name="DATACARD_BLOB", nullable=false)
	private byte[] datacardBlob;

	@Column(name="SHEET_ID", nullable=false, length=100)
	private String sheetId;

	@Column(name="SHEET_NAME", nullable=false, length=200)
	private String sheetName;

	@Column(name="SHELL_ID", length=36)
	private String shellId;

	@Column(name="\"VERSION\"", nullable=false, length=10)
	private String version;

	public TgaDataCard() {
	}

	public String getDatacardRecordId() {
		return this.datacardRecordId;
	}

	public void setDatacardRecordId(String datacardRecordId) {
		this.datacardRecordId = datacardRecordId;
	}

	public String getActive() {
		return this.active;
	}

	public void setActive(String active) {
		this.active = active;
	}

	public byte[] getDatacardBlob() {
		return this.datacardBlob;
	}

	public void setDatacardBlob(byte[] datacardBlob) {
		this.datacardBlob = datacardBlob;
	}

	public String getSheetId() {
		return this.sheetId;
	}

	public void setSheetId(String sheetId) {
		this.sheetId = sheetId;
	}

	public String getSheetName() {
		return this.sheetName;
	}

	public void setSheetName(String sheetName) {
		this.sheetName = sheetName;
	}

	public String getShellId() {
		return this.shellId;
	}

	public void setShellId(String shellId) {
		this.shellId = shellId;
	}

	public String getVersion() {
		return this.version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

}